package com.etime.shycourse.dto;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.etime.shycourse.pojo.Couponrange;
import com.etime.shycourse.pojo.Packageimportcourse;
import io.swagger.annotations.ApiModelProperty;

import java.util.List;

/**
 * @ClassName : CouponrangePackageDto  //类名
 * @Description : 优惠劵使用的范围+课程包的dto  //描述
 * @Author : W //作者
 * @Date: 2022/3/17  12:59
 */
public class CouponrangePackageDto extends Couponrange {
    @TableId(value = "packageid", type = IdType.AUTO)
    private Integer packageid;

    private String packagename;

    private String packagedesc;

    @ApiModelProperty(value = "1--可用  0--不可用")
    private Integer packagestate;

    private List<Packageimportcourse> packageimportcourse;

    public List<Packageimportcourse> getPackageimportcourse() {
        return packageimportcourse;
    }

    public void setPackageimportcourse(List<Packageimportcourse> packageimportcourse) {
        this.packageimportcourse = packageimportcourse;
    }

    public Integer getPackageid() {
        return packageid;
    }

    public void setPackageid(Integer packageid) {
        this.packageid = packageid;
    }

    public String getPackagename() {
        return packagename;
    }

    public void setPackagename(String packagename) {
        this.packagename = packagename;
    }

    public String getPackagedesc() {
        return packagedesc;
    }

    public void setPackagedesc(String packagedesc) {
        this.packagedesc = packagedesc;
    }

    public Integer getPackagestate() {
        return packagestate;
    }

    public void setPackagestate(Integer packagestate) {
        this.packagestate = packagestate;
    }
}


